home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / bbs_util / bsrc_260.zip / SRC.ZIP / B_BANNER.C < prev    next >
C/C++ Source or Header  |  1996-02-20  |  5KB  |  96 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*                                                                          */
  3. /*                                                                          */
  4. /*      ------------         Bit-Bucket Software, Co.                       */
  5. /*      \ 10001101 /         Writers and Distributors of                    */
  6. /*       \ 011110 /          Freely Available<tm> Software.                 */
  7. /*        \ 1011 /                                                          */
  8. /*         ------                                                           */
  9. /*                                                                          */
  10. /*              (C) Copyright 1987-96, Bit Bucket Software Co.              */
  11. /*                                                                          */
  12. /*          This module was originally written by Vince Perriello           */
  13. /*                                                                          */
  14. /*                       BinkleyTerm Opening Banner                         */
  15. /*                                                                          */
  16. /*                                                                          */
  17. /*    For complete  details  of the licensing restrictions, please refer    */
  18. /*    to the License  agreement,  which  is published in its entirety in    */
  19. /*    the MAKEFILE and BT.C, and also contained in the file LICENSE.260.    */
  20. /*                                                                          */
  21. /*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
  22. /*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
  23. /*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
  24. /*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
  25. /*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
  26. /*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
  27. /*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
  28. /*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
  29. /*                                                                          */
  30. /*                                                                          */
  31. /* You can contact Bit Bucket Software Co. at any one of the following      */
  32. /* addresses:                                                               */
  33. /*                                                                          */
  34. /* Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             */
  35. /* P.O. Box 460398                AlterNet 7:42/1491                        */
  36. /* Aurora, CO 80046               BBS-Net  86:2030/1                        */
  37. /*                                Internet f491.n343.z1.fidonet.org         */
  38. /*                                                                          */
  39. /* Please feel free to contact us at any time to share your comments about  */
  40. /* our software and/or licensing policies.                                  */
  41. /*                                                                          */
  42. /*--------------------------------------------------------------------------*/
  43.  
  44. /* Include this file before any other includes or defines! */
  45.  
  46. #include "includes.h"
  47.  
  48. void 
  49. opening_banner ()
  50. {
  51.     char bd[10];
  52.  
  53. #ifdef DOS16
  54.     char *p;
  55.     char far *q;
  56.     int i;
  57.  
  58. #endif
  59.  
  60.     if (!fullscreen || !un_attended)
  61.     {
  62.         screen_clear ();
  63.         scr_printf (ANNOUNCE);
  64.         scr_printf ("\r\nA Freely Available<tm> Dumb Terminal and FidoNet Mail Package\r\n");
  65.         scr_printf (MSG_TXT (M_SETTING));
  66.         scr_printf (" COM");
  67.         (void) sprintf (junk, "%c:", ((char) (port_ptr + '1')));
  68.         scr_printf (junk);
  69.         scr_printf (MSG_TXT (M_INITIAL_SPEED));
  70.         (void) sprintf (bd, "%lu", max_baud.rate_value);
  71.         scr_printf (bd);
  72.         scr_printf (MSG_TXT (M_INTRO_END));
  73.  
  74. #ifdef DOS16
  75.         if ((fossil_info.curr_fossil > 0) && !rev3)
  76.         {
  77.             (void) strcpy (junk, MSG_TXT (M_FOSSIL_TYPE));
  78.             p = &junk[strlen (junk)];
  79.             q = (char far *) (fossil_info.id_string);
  80.             for (i = 0; (i < 64) && (*q != '\0'); i++)
  81.                 *p++ = *q++;
  82.             (void) strcpy (p, "\r\n");
  83.             scr_printf (junk);
  84.         }
  85.         else
  86.         {
  87.             scr_printf (MSG_TXT (M_FOSSIL_REV3));
  88.             scr_printf ("\r\n");
  89.         }
  90. #endif
  91.         scr_printf (MSG_TXT (M_MULTI_TASKER));
  92.         scr_printf (mtask_name);
  93.         scr_printf ("\r\n");
  94.     }
  95. }
  96.